﻿@model WebApplication1.Models.Employee
@{
    ViewBag.Title = "MyView";
    
}

<!---->
<div>
    <h2>MyView</h2>
    @{
        WebApplication1.Models.Employee emp = (WebApplication1.Models.Employee)
            ViewData["Employee"];
    }
    <b>Employee Details </b><br />
    Employee Name : @{ Response.Write(emp.FirstName);} @emp.LastName <br />
    Employee Salary: @emp.Salary.ToString("C")
</div>

    